package uy.com.csi.gestpro.model.view;

import java.io.Serializable;
import java.util.List;

import javax.persistence.*;

import uy.com.csi.gestpro.model.proyecto.GpTraFtra;


/**
 * The persistent class for the gp_vw_prsnal_prycto database table.
 * 
 */
@Entity
@Table(name="gp_vw_prsnal_prycto", schema="proyecto")
@NamedQuery(name="GpVwPrsnalPrycto.findAll", query="SELECT g FROM GpVwPrsnalPrycto g")
public class GpVwPrsnalPrycto implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Integer id;
	
	private String aplldos;

	@Column(name="id_crgo")
	private Integer idCrgo;

	@Column(name="id_prsnal")
	private Integer idPrsnal;

	@Column(name="id_prycto")
	private Integer idPrycto;

	private String nmbre;

	@Column(name="oprario_nmro")
	private Integer oprarioNmro;
	
	@Transient
	private List<GpVwActvdadPrsnal> gpActvdadPrsnals;
	
	@Transient
	private GpTraFtra trafTraSelected;

	public GpVwPrsnalPrycto() {
	}

	public String getAplldos() {
		return this.aplldos;
	}

	public void setAplldos(String aplldos) {
		this.aplldos = aplldos;
	}

	public Integer getIdCrgo() {
		return this.idCrgo;
	}

	public void setIdCrgo(Integer idCrgo) {
		this.idCrgo = idCrgo;
	}

	public Integer getIdPrsnal() {
		return this.idPrsnal;
	}

	public void setIdPrsnal(Integer idPrsnal) {
		this.idPrsnal = idPrsnal;
	}

	public Integer getIdPrycto() {
		return this.idPrycto;
	}

	public void setIdPrycto(Integer idPrycto) {
		this.idPrycto = idPrycto;
	}

	public String getNmbre() {
		return this.nmbre;
	}

	public void setNmbre(String nmbre) {
		this.nmbre = nmbre;
	}

	public Integer getOprarioNmro() {
		return this.oprarioNmro;
	}

	public void setOprarioNmro(Integer oprarioNmro) {
		this.oprarioNmro = oprarioNmro;
	}

	public List<GpVwActvdadPrsnal> getGpActvdadPrsnals() {
		return gpActvdadPrsnals;
	}

	public void setGpActvdadPrsnals(List<GpVwActvdadPrsnal> gpActvdadPrsnals) {
		this.gpActvdadPrsnals = gpActvdadPrsnals;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public GpTraFtra getTrafTraSelected() {
		return trafTraSelected;
	}

	public void setTrafTraSelected(GpTraFtra trafTraSelected) {
		this.trafTraSelected = trafTraSelected;
	}

}